/**
 * Beyondsoft.com Inc.
 * Copyright (c) 2004-2016 All Rights Reserved.
 */
package com.nft.gateway.app;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringCloudApplication
@EnableDiscoveryClient
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = {"com.nft.gateway"})
@MapperScan("com.nft.gateway.app.mapper")
public class AppGateWayApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(AppGateWayApplication.class).run(args);
    }
}
